<?php
/*---------------------------------------------------+
| Maztrex Control Panel
| Copyright 2009 - 2011 Maztrex Entertainment
| http://mcp.maztrex.com/
+----------------------------------------------------*/
include "includes/config.php";
$ip=$_SERVER['REMOTE_ADDR'];
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>MCP Login</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center>
<div id='top' alig='right'><br />
<?php
echo "<b>Your IP is $ip</b>";
?>
</div>
<div id='middle' align='center'>
<form id="loginForm" name="loginForm" method="post" action="login-exec.php">
  <table width="300" border="0" align="center" cellpadding="2" cellspacing="0">
    <tr>
      <td width="112"><b>Login</b></td>
      <td width="188"><input name="login" type="text" class="textfield" id="login" /></td>
    </tr>
    <tr>
      <td><b>Password</b></td>
      <td><input name="password" type="password" class="textfield" id="password" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="submit" name="Submit" value="Login" /></td>
    </tr>
  </table>
</form>
</table>
<br />
</div>
<div id="footer">
<?php
echo "Copyright &copy; 2010-2011 $copy";
?>
</div>
</center>
</body>
</html>
